package cn.codeforfun.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Package cn.codeforfun.service
 * Project docker-testtest
 * Company  PACTERA
 * Author bin.wang
 * Created on 2017/3/22 15:51
 * version 1.0.0
 */
@FeignClient(value = "service", fallback = ConsumerServiceFallback.class)
public interface ConsumerService {
  @RequestMapping("/add")
  String add(@RequestParam("a") Integer a, @RequestParam("b") Integer b);
}
